package mvp.com.bbc.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/7.
 */

public class ArtListBean {
    /**
     * te : [{"id":1,"name":"私密健康","creattime":{"nanos":0,"time":1504614291000,"
     * inutes":24,"seconds":51,"hours":20,"month":8,"year":117,"timezoneOffset":-480,"day":2,"date":5},"isdelete":"0"}
     * ,{"id":2,"name":"美胸健胸","creattime":{"nanos":0,"time":1504614379000,"minutes":26,"seconds":19,"
     * hours":20,"month":8,"year":117,"timezoneOffset":-480,"day":2,"date":5},"isdelete":"0"},{"id":3,"name":
     * "美容杂谈","creattime":{"nanos":0,"time":1504614382000,"minutes":26,"seconds":22,"hours":20,"month":8,"year"
     * :117,"timezoneOffset":-480,"day":2,"date":5},"isdelete":"0"}]
     * totalPage : 1
     */
    private int totalPage;
    private List<TeBean> te;

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<TeBean> getTe() {
        return te;
    }

    public void setTe(List<TeBean> te) {
        this.te = te;
    }

    public static class TeBean {
        /**
         * id : 1
         * name : 私密健康
         * creattime : {"nanos":0,"time":1504614291000,"minutes":24,"seconds":51,"hours":20,"month":8,"year":117,"timezoneOffset":-480,"day":2,"date":5}
         * isdelete : 0
         */

        private int id;
        private String name;
        private String isdelete;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            if (name == null) {
                return "1";
            } else {
                return name;
            }
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIsdelete() {
            return isdelete;
        }

        public void setIsdelete(String isdelete) {
            this.isdelete = isdelete;
        }
    }
}
